<%@ Page Language="C#" MasterPageFile="~/Forum.master" AutoEventWireup="true" CodeBehind="CreateATopicPage.aspx.cs" Inherits="Forums.CreateATopicPage" %>
<%@ Register src="UserControls/SearchFunction.ascx" tagname="SearchFunction" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="searchContentHolder" runat="server">
    <uc1:SearchFunction ID="SearchFunction1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentHolder" runat="server">
    <table style="width: 100%">
        <tr>
        <td></td>
        <td>
            <asp:Label ID="lblCreateValidator" runat="server" 
                Text="You Must Enter a Subject and Body" Visible="False" 
                SkinID="error"></asp:Label>
        </td>
        </tr>
        <tr>
            <td style="width: 89px">
                <asp:Label ID="lblSubject" runat="server" Text="Subject"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSubject" runat="server" Width="553px" MaxLength="255"></asp:TextBox>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 89px">
                <asp:Label ID="lblBody" runat="server" Text="Body"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtBody" runat="server" TextMode="MultiLine" Width="559px" 
                    MaxLength="500"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 89px">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" CssClass="submitButton" />
                <asp:Button ID="btnCancel" runat="server" CssClass="submitButton" Text="Cancel" 
                    onclick="btnCancel_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
